package com.situ.blog.mapper;

import com.situ.blog.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> selectAll();

    int deleteById(Integer id);

    int add(User user);

    User login(@Param("name") String name,@Param("password") String password);
}
